﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FroggyAutomation.Database;

namespace FroggyAutomation
{
    /// <summary>
    ///  Basic class that starts the whole system up.
    /// </summary>
    public class FroggyAutomation
    {
        private FileDatabase database;
        private Plugins plugins;

        static void Main(string[] args)
        {
            FroggyAutomation froggy = new FroggyAutomation();
            froggy.Start();
            return;
        }

        public void Start()
        {
            // Load the plugins first, then then database.
            plugins = new Plugins(Properties.Settings.Default.PluginDirectory);
            // Startup the database.
            database = new FileDatabase(Properties.Settings.Default.SerializedData);

        }
    }
}
